package com.absurdzoo.sonder;

public class ichthyosaur {
    private String id;
    private String name;
    private String color;
    private String length;
    private String hobby;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getLength() {
        return length;
    }

    public void setLength(String length) {
        this.length = length;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    @Override
    public String toString() {
        return "当前动物名称：ichthyosaur{" +
                "动物id：" + id +
                ", 动物名字：'" + name + '\'' +
                ", 动物颜色：'" + color + '\'' +
                ", 动物长度：'" + length + '\'' +
                ", 动物爱好：'" + hobby + '\'' +
                '}';
    }

    public void argent(){
        System.out.println("我是银色的龙。");
    }
    public void observe(){
        System.out.println("我喜欢在海里观察其他生物。");
    }
}
